//
//  LMNetWorkRequestManager.h
//  EPA
//
//  Created by lanou3g on 16/4/15.
//  Copyright © 2016年 liman. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

///定义一个枚举
typedef NS_ENUM(NSInteger) {
    LM_GET,
    LM_POST
}URLRequestMethod;

///定义返回值
typedef void(^ResultBlock)(NSData *data, NSURLResponse *response, NSError *error);

@interface LMNetWorkRequestManager : NSObject

///请求方法
+ (void)requestURL:(NSURL *)url Method:(URLRequestMethod )method Params:(NSDictionary *)param Result:(ResultBlock)resultBlock;












@end
